<script>
import Vue from 'vue';
// #ifdef MP-WEIXIN
import validation from 'utils/validation.js'
// #endif 
export default {
	onLaunch: function(e) {
		console.log(e)
		// uni.showToast({
		// 	title: String(e.scene)
		// })
		// #ifdef MP-WEIXIN
		validation.getUpdateManager()
		validation.getSetting(this) 
		// #endif
		uni.getSystemInfo({
			success: function(e) {
				// #ifdef MP-WEIXIN
				Vue.prototype.StatusBar = e.statusBarHeight;
				let custom = wx.getMenuButtonBoundingClientRect();
				Vue.prototype.Custom = custom;
				Vue.prototype.CustomBar = custom.bottom + custom.top - e.statusBarHeight;
				// #endif

				// #ifdef MP-ALIPAY
				Vue.prototype.StatusBar = e.statusBarHeight;
				Vue.prototype.CustomBar = e.statusBarHeight + e.titleBarHeight;
				// #endif
			}
		});
	},
	onShow: function() {
		console.log('App Show');
	},
	onHide: function() {
		console.log('App Hide');
	}
};
</script>

<style>
@import 'colorui/main.css';
@import 'colorui/icon.css';

.blur{
	filter: blur(3px);
}
.bottom_shadow {
	z-index: 999;
	position: fixed;
	left: 0;
	right: 0;
	width: 100%;
	bottom: -1upx;
	height: 1upx;
}

.bottom_shadow::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 20upx;
	top: 0;
	right: 0;
	left: 0;
	border-radius: 50%;
	box-shadow: 0px -2px 5px rgba(117, 117, 117, 0.1);
}

.scroll-cont{
	height: calc(100vh - 44px);
}
</style>
